package com.sky.security;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author 陈烨庆
 * @version 1.0
 */
public interface AuthUserDetails extends UserDetails {

    @Override
    default boolean isAccountNonExpired() {
        return true;
    }

    @Override
    default boolean isAccountNonLocked() {
        return true;
    }

    @Override
    default boolean isCredentialsNonExpired() {
        return true;
    }

    @Override
    default boolean isEnabled() {
        return true;
    }
}
